﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ScriptsGenerator.Manager
{
    /// <summary>
    /// 版本資訊
    /// </summary>
    public class DbVersion
    {
        public string VersionID { get; set; }

        /// <summary>
        /// 生效日期
        /// </summary>
        public string PubishedDate { get; set; }
        public DateTime PubishedDateTime { get; set; }
        
        private List<Amendment> _amendments;
        public List<Amendment> Amendments
        {
            get
            {
                if (_amendments == null)
                    _amendments = new List<Amendment>();
                return _amendments;
            }
            set
            {
                _amendments = value;
            }
        }
    }
}
